package cn.kgc.springday06.impl;

import cn.kgc.springday06.interfaces.Teacher;
import org.springframework.stereotype.Component;

/**
 * @author 课工场
 * @date 2023/10/11
 * @description
 */
@Component
public class TeacherWang implements Teacher {

    @Override
    public String teachOnline(String course, Integer time) {
        System.out.println(course+"课程线上授课进行中,课程时间:"+time+"分钟");

        return course+"课程";
    }

    @Override
    public Integer teachOffLine(String course) {

        System.out.println(course+"课程线下授课进行中....");

        return 1;
    }

    @Override
    public String method1() {
        return null;
    }
}
